Average sentence length |
---|
13.2321 |
sentence length | percentage |
---|---|
2 | 0.0433 |
3 | 0.8200 |
4 | 2.2300 |
5 | 2.5067 |
6 | 3.5800 |
7 | 4.1833 |
8 | 6.4100 |
9 | 6.2400 |
10 | 5.9900 |
11 | 5.9233 |
12 | 8.6500 |
13 | 6.1933 |
14 | 5.9400 |
15 | 5.5800 |
16 | 8.0100 |
17 | 7.4900 |
18 | 4.2533 |
19 | 4.2600 |
20 | 4.0967 |
21 | 2.9533 |
22 | 2.0300 |
23 | 1.1167 |
24 | 0.7067 |
25 | 0.3967 |
26 | 0.2367 |
27 | 0.0733 |
28 | 0.0533 |
29 | 0.0200 |
30 | 0.0100 |
32 | 0.0033 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters